﻿using System;
using DearLee.Toolkit;

namespace Web.Code_Demo {

  public partial class EmailDemo : System.Web.UI.Page {

    protected void Page_Load(object sender, EventArgs e) {

      if (!IsPostBack) {

        Email email = null;

        email = new Email("account@kayou110.com", "卡游网", "mail.beetle-china.com", "account@kayou110.com", "787915#jkc");
        email.SendMail("ju2ender@foxmail.com", "Hello", "Hello Ju2ender", false);

        Response.Write("success");
      }
    }
  }
}